package cn.kgc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
* 描述：实体类
* @author 
* @date 2018/03/05
*/
public class Jiaoyu implements Serializable {

   /***/
    private Integer id;
   /***/
    private String schoolname;
   /***/
    private Integer educationid;
   /***/
    private String majorname;
   /***/
   @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startdate;
   /***/
   @JsonFormat(pattern = "yyyy-MM-dd")
    private Date enddate;

    public Jiaoyu(){}
    
    public Jiaoyu(Integer id,String schoolname,Integer educationid,String majorname,Date startdate,Date enddate){
        this.id = id;
        this.schoolname = schoolname;
        this.educationid = educationid;
        this.majorname = majorname;
        this.startdate = startdate;
        this.enddate = enddate;
    }

   /**获取属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取属性的值*/
    public String getSchoolname() {
        return this.schoolname;
    }
   /**设置属性的值*/
    public void setSchoolname(String schoolname) {
        this.schoolname = schoolname;
    }
   /**获取属性的值*/
    public Integer getEducationid() {
        return this.educationid;
    }
   /**设置属性的值*/
    public void setEducationid(Integer educationid) {
        this.educationid = educationid;
    }
   /**获取属性的值*/
    public String getMajorname() {
        return this.majorname;
    }
   /**设置属性的值*/
    public void setMajorname(String majorname) {
        this.majorname = majorname;
    }
   /**获取属性的值*/
    public Date getStartdate() {
        return this.startdate;
    }
   /**设置属性的值*/
    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }
   /**获取属性的值*/
    public Date getEnddate() {
        return this.enddate;
    }
   /**设置属性的值*/
    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }
}
